Delete undo information

Delete old undo information if you don't need it anymore